import { download, post } from '@/utils/request'

export async function getShengYjGoods(params) {
  return post({
    url: '/drug-safety/yjGoods/getShengYjGoods/v001',
    params
  })
}

export async function exportShengYjGoods(params) {
  return download({
    url: '/drug-safety/yjGoods/exportShengYjGoods/v001',
    responseType: 'blob',
    params
  })
}

export async function getShengYjBusiness(params) {
  return post({
    url: '/drug-safety/yjBusiness/getShengYjBusiness/v001',
    params
  })
}

export async function exportShengYjBusiness(params) {
  return download({
    url: '/drug-safety/yjBusiness/exportShengYjBusinessv001',
    responseType: 'blob',
    params
  })
}
